package examples;

import project.Project;
import facadeOCL.ParserFacade;

public class DeleteTest {

	public static void main(String[] args) throws Exception {
		ParserFacade pf = new ParserFacade();
		Project p = new Project();
		p.importXMI("/Users/lotendil/Desktop/models/prepostbody.xmi");
		pf.deleteOclExpression("c1", p);
		System.out.println("Fet c1.");
		pf.deleteOclExpression("c2", p);
		System.out.println("Fet c2.");
		pf.deleteOclExpression("c3", p);
		System.out.println("Fet c3.");
		pf.deleteOclExpression("c4", p);
		System.out.println("Fet c4.");
		p.saveXMI("/Users/lotendil/Desktop/models/prepostbody2.xmi");
		p.closeProject();
		System.out.println("Fet.");
	}

}



